package com.star.bookstore.product.feign;


import com.star.bookstore.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;


@FeignClient("bookstore-member")
public interface ProductFeignService {

    @RequestMapping("/member/user/login/checkByLoginNumber")
    public R getLoginStatus(@RequestParam("userId") String userId,
                            @RequestParam("loginNumber") String loginNumber
                            );

}
